<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>登录错误</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">

<script type="text/javascript">     
function countDown(secs,surl){     
 //alert(surl);     
 var jumpTo = document.getElementById('jumpTo');
 jumpTo.innerHTML=secs;  
 if(--secs>0){     
     setTimeout("countDown("+secs+",'"+surl+"')",1000);     
     }     
 else{       
     location.href=surl;     
     }     
 }
 
 
</script> 


  </head>
  
  <body onload="countDown(5,'<%=basePath%>downadmin/login.html')">
   <center>
   <dir style="border: solid 1px #333; width: 400px; height: 300px;" >
   <br/><br/><br/><br/><br/>
   <p><font color="red">
    <%
      if(session.getAttribute("error")!=null){
     %>
   <%=session.getAttribute("error").toString() %></font></p>
   <%
     session.removeAttribute("error");
     }
    %>
    
   <br/> 
      <span id="jumpTo">5</span>秒后自动跳转到登陆页面<br/><br/>
      <a href="<%=basePath%>downadmin/login.html">返回登陆页面</a>
   </dir>
   </center>
  </body>
</html>
